package com.lulin.mall.product.dao;

import com.lulin.mall.product.entity.CategoryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 商品三级分类
 *
 * @author lulin
 * @email 2032327049@qq.com
 * @date 2022-09-21 14:25:13
 */
@Mapper
public interface CategoryDao extends BaseMapper<CategoryEntity> {
    /**
     * 查询出所有的一级分类
     */
    List<CategoryEntity> queryLeve1Category();
}
